from django.db import models
from django.contrib.auth.models import Group

# Create your models here.
class Menu(models.Model):
  name = models.CharField(max_length=30, default='no')
  route = models.CharField(max_length=30)
  path = models.CharField(max_length=255)
  status = models.IntegerField(default=0)
  partner_id = models.IntegerField(default=0)
  owner = models.ForeignKey(Group, on_delete=models.CASCADE)